package com.opages.platform.model;

/**
 * 扩展实现包装类
 * @author daizhong.liu
 * @create 2021-10-21 14:17
 **/
public class ExtensionHolder<T> {
    private String name;
    private Integer order;
    private Class<T> clazz;
    private T obj;

    public ExtensionHolder() {
    }

    public ExtensionHolder(String name, Integer order, Class<T> clazz) {
        this.name = name;
        this.order = order;
        this.clazz = clazz;
    }

    public ExtensionHolder(String name, Integer order, Class<T> clazz, T obj) {
        this.name = name;
        this.order = order;
        this.clazz = clazz;
        this.obj = obj;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public T getObj() {
        return obj;
    }

    public Class<T> getClazz() {
        return clazz;
    }

    public void setClazz(Class<T> clazz) {
        this.clazz = clazz;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }
}
